package ots.java.march;

public class Student {

    private int number;
    private String name="";
    private int age;
    private String classnm = "";
    private Teacher teac = null;
        

    public Teacher getTeac() {
        return teac;
    }
    public void setTeac(Teacher teac) {
        this.teac = teac;
    }
    public int getNumber() {
        return number;
    }
    public void setNumber(int number) {
        this.number = number;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public int getAge() {
        return age;
    }
    public void setAge(int age) {
        this.age = age;
    }
    public String getClassnm() {
        return classnm;
    }
    public void setClassnm(String classnm) {
        this.classnm = classnm;
    }

    
    
}
